import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';

@Component({
  selector: 'app-multiple-assessment-detail',
  templateUrl: './multiple-assessment-detail.component.html',
  styleUrls: ['./multiple-assessment-detail.component.scss']
})
export class MultipleAssessmentDetailComponent implements OnInit {
  listOfData = [];
  constructor(private router: Router) { }

  ngOnInit() {
    this.listOfData = new Array(5).fill(0).map((_, index) => {
      return {
        field1: index,
        field2: `cls-010-${index}`,        
        field3: index+50
      };
    });
  }


  returnExtractDataset(){
    this.router.navigate(['/multiple/multipleAssessment']);
  }
}
